export default {
  methods: {
    checkPermissions(key) {
      // console.log(key, this.$store.getters.roles.points)
      // true 有权限 false 没有权限
      return this.$store.getters.roles?.points?.includes?.(key)
    }
  }
}
